<?php

namespace App\Modules\Admin\Entities\Member;

use App\Models\Model;
use function PHPUnit\Framework\callback;


// 公共 水卡
class WaterCardModel extends Model
{
    protected $table='water_card';
    protected $primaryKey='card_id';
    protected $is_delete=0;


    public function getWaterCardByNo($card_no)
    {
        return $this->where(['card_no'=>$card_no])->first();
    }
}
